.myRightsContainer {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.content {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
}

// 会员卡片样式
.membershipCard {
    background: white;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

// 会员头部样式
.membershipHeader {
    padding: 16px 20px;
    color: white;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;

    h3 {
        margin: 0;
        font-size: 18px;
        font-weight: bold;
    }
}

.membershipTitle {
    flex: 1;
}

.validPeriod {
    font-size: 12px;
    margin-top: 4px;
    opacity: 0.9;
}

.membershipIcon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.crownIcon {
    font-size: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

// 权益详情样式
.membershipDetails {
    padding: 16px 20px;
    border-bottom: 1px solid var(--theme-bg-secondary);

    .vipBenefits {
        .benefitItem {
            display: flex;
            align-items: center;
            margin-bottom: 8px;
            color: var(--theme-text-muted);

            svg {
                flex-shrink: 0;
            }

            &:last-child {
                margin-bottom: 0;
            }

            .checkIcon {
                font-size: 16px;
                margin-right: 8px;
                color: var(--theme-success);
            }

            span {
                font-size: 14px;

                .highlight {
                    color: var(--theme-error);
                    font-weight: bold;
                    margin: 0 2px;
                }
            }
        }
    }
}

.featureItem {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;

    &:last-child {
        margin-bottom: 0;
    }
}

.featureLabel {
    color: var(--theme-text-muted);
    flex-shrink: 0;
}

.featureValue {
    color: #333;
    font-weight: 500;
    text-align: right;

    &.highlight {
        color: var(--theme-error);
        font-weight: bold;
    }
}

.specialNote {
    margin-top: 12px;
    padding: 8px 12px;
    background: var(--theme-bg-info);
    border-radius: 8px;
    font-size: 12px;
    color: var(--theme-accent-info);
    border-left: 3px solid var(--theme-accent-info);
}

// 模型使用情况样式
.modelUsage {
    padding: 10px 15px 10px 15px;
    .modelUsageWrapper {
        border: 1px solid var(--theme-bg-secondary);
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        padding: 5px 10px 0px 10px;
    }
}

.modelHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.modelInfo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.modelName {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.modelStatus {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 12px;
    border: 1px solid;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: default;

    // &:hover {
    //     transform: scale(1.05);
    //     box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    // }

    // &:active {
    //     transform: scale(0.98);
    // }
}

.usageInfo {
    margin-bottom: 8px;
}

.usageText {
    font-size: 12px;
    color: var(--theme-text-muted);
}

.usageStats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.usageNumbers {
    font-size: 14px;
    color: #333;

    strong {
        font-size: 24px;
    }
}

.recordLink {
    font-size: 12px;
    color: var(--theme-accent-info);
    cursor: pointer;

    &:hover {
        text-decoration: underline;
    }
}

// 进度条样式
.progressContainer {
    margin-bottom: 12px;
}

.progressBar {
    width: 100%;
    height: 8px;
    background: var(--theme-bg-secondary);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 6px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.progressFill {
    height: 100%;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);

    &::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        border-radius: 4px;
        animation: shimmer 2s infinite;
    }
}

.progressLabel {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.statusText {
    font-size: 12px;
    font-weight: 500;
}

.percentageText {
    font-size: 12px;
    font-weight: 600;
    transition: color 0.3s ease;
}

// 到期时间样式
.modelExpiration {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: var(--theme-bg-warning);
    border-radius: 6px;
    border: 1px solid var(--theme-accent-warning);
}

.expirationLabel {
    font-size: 12px;
    color: var(--theme-accent-warning);
}

.expirationDate {
    font-size: 12px;
    color: var(--theme-accent-warning);
    font-weight: bold;
}

// Loading 状态样式
.loadingContainer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 60vh;
    padding: 40px 20px;
    animation: fadeIn 0.3s ease-in-out;
}

.loadingText {
    margin-top: 16px;
    font-size: 14px;
    color: var(--theme-text-muted);
    animation: pulse 1.5s ease-in-out infinite;
}

// 空状态样式优化
.notRight {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 60vh;
    padding: 40px 20px;
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}

.emptyIcon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.6;
    animation: bounce 2s ease-in-out infinite;
}

.emptyTitle {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.emptyDesc {
    font-size: 14px;
    color: var(--theme-text-muted);
    margin-bottom: 24px;
    line-height: 1.4;
}

.openVipBtn {
    width: 200px;
    height: 44px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 22px;
    transition: all 0.3s ease;
    
    &:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
    }
    
    &:active {
        transform: translateY(0);
    }
}

// 动画效果
.membershipCard {
    transition: transform 0.2s ease, box-shadow 0.2s ease;

    &:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    }
}

// 闪烁动画效果
@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

// 呼吸动画效果
@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

// 弹跳动画效果
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}